<template>
<el-dialog v-bind="$attrs" v-on="$listeners" @open="onOpen" @close="onClose" title="修改信息">
  <el-form ref="elForm" :model="formData" :rules="rules" size="small" label-width="100px"
    label-position="left">
    <el-form-item label="姓名" prop="username">
      <el-input v-model="formData.username" placeholder="请输入姓名" :maxlength="11" show-word-limit clearable
        prefix-icon='el-icon-mobile' :style="{width: '100%'}"></el-input>
    </el-form-item>
    <el-form-item label="性别" prop="gender">
      <el-select v-model="formData.gender" placeholder="请选择性别" clearable :style="{width: '100%'}">
        <el-option v-for="(item, index) in field123Options" :key="index" :label="item.label"
          :value="item.value" :disabled="item.disabled"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="手机号" prop="phone">
      <el-input v-model="formData.phone" placeholder="请输入手机号" :maxlength="11" show-word-limit clearable
        prefix-icon='el-icon-mobile' :style="{width: '100%'}"></el-input>
    </el-form-item>
    <el-form-item label="省份" prop="province">
      <el-select v-model="formData.province" placeholder="请选择所在省" clearable :style="{width: '100%'}">
      </el-select>
    </el-form-item>
    <el-form-item label="备注" prop="remark">
      <el-input v-model="formData.remark" placeholder="请输入备注" :maxlength="11" show-word-limit clearable
        prefix-icon='el-icon-mobile' :style="{width: '100%'}"></el-input>
    </el-form-item>
  </el-form>
  <div slot="footer">
    <el-button @click="close">取消</el-button>
    <el-button type="primary" @click="handelConfirm">确定</el-button>
  </div>
</el-dialog>

</template>